package com.project.gcsj5.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.project.gcsj5.model.Book;

import java.util.List;

public interface BookService extends IService<Book> {

    Book get_a_book(int id);

    Boolean add_view(int id);

    Boolean stars_new(float rate,int id);

    List<Book> find_by_category(String category);

    List<Book> get_by_content(String content);
}
